package edu.xjdx.os.service;

import edu.xjdx.os.domain.Goods;

import java.util.List;

public interface GoodsService {
    List<Goods> listAll();
    void remove(String id);
    void modify(Goods goods);
    void add(Goods goods);
    List<Goods> findByKeyword(String keyword,String orderType);
    List<Goods> findByCategory(String keyword,String orderType);
    List<Goods> orderList(String orderType);
    Goods findById(String id);
}
